For closed tracks you don't have to set the number of splits.
The Pitboard reads the trackname and then has the number of splits in its code.
For open configs you do need to set the number of splits, otherwise the Pitboard won't know how many splits to display.
Ah, I think I know what the issue is
The latest version I uploaded here (2.13) doesn't work with recent versions of Lapper.
So on my end I am running version 2.16 Beta (for just over 3 years, so I guess it should move into a release now, otherwise I will never happen )
Here we go with version 2.17
Changelog Pitboard V2.17
-Removed some debug code
-Removed a WHILE-loop from sub 'OnRaceStart_Pitboard' and replaced it with a FOREACH-loop
-Removed a WHILE-loop from sub 'OnQualStart_Pitboard' and replaced it with a FOREACH-loop
-Called the wrong array ('$ply_list' instead of '$ply_list_tmp') in Sub 'OnRaceStart_Pitboard'
-Called the wrong array ('$ply_list' instead of '$ply_list_tmp') in Sub 'OnQualStart_Pitboard'
-Looped through wrong array ('$ply_list_pb_racestart' instead of '$ply_list_pb_qualstart') in Sub 'OnQualStart_Pitboard'
-Used a wrong variable ('$uName' instead of '$uName_pitboard') in the FOREACH-loops
Change the extension of the file to .lpr and add it to addonsused.lpr to be able to use it.
In the past I made the toptable script, which displays the best time for each car on that track (see screenshot below). Would that be useful as a start for this wish: Time table for best laps done total, car filter to click
Wow, that is a serious request for help with many wishes. I read it a few times but cannot see the big picture so far, so let me start with a question. Why isn't Lapper not able to record laps that are longer then 10 minutes? Have to admit that I never had to deal with such long laps, but Lapper takes the start of a lap, then takes splits and in the end a total laptime. So I cannot see why it would not allow laps that are above a certain value.
No, the delayed command will run when the timer expires, whether the last player finished his lap or not. That's why I said that you need to set the timer to the duration of the qualification and add a couple of minutes to take that very last lap into account (within a reasonable time). You will know the world record for the track+car(s) (take the slowest car when you have multiple ones) and then add like 10% (of course this is just an example and you need to work out those numbers to your situation).
And you want the countdown to start when the last player finished qualification?
Then you might have to do something with a delayed command that gets started when qualify start.
Let us say that qualify is 10 minutes, so at the start of the qualify you run a delayed command that does something after those 10 minutes.
This might be useful for what you want:
HostDelayedCommand - Set a delayed command on the host rather than a player
Delayed commands are set by seconds, so you could set it at 10 x 60 = 600 seconds and then take into account that a player can finish his lap when qualify time runs out. So maybe at 2 minutes to that delayed account.
I have not really tried the above suggestion, just doing this mostly from memory.
You cannot do that with Lapper code, unless you also kept a list of all registered player names in Lapper.
But, you could download DB Browser (SQLite) and run a query to retrieve and change the values.
I understand the security concerns, but LFS players won't see Lapper executing the HTTP command, so they have no knowlegde to what URL it is sending data. From the other side no data can been seen, when someone would get hold of the URL, as PHP is executed server-side and only displays the outcome on a website (if there is anything to display), so unless someone gets the actual PHP-file, this is pretty safe.
Ah, that must have happened at some point then.
As you know I still am on a rather old version of Lapper and that HTTP function is working like a dream there.
You can make the webpage talk back to Lapper, using Lapper commands and make them by echoed by PHP.
As long as the syntax is right for Lapper, it will do what you want it to do.
I never see my HTTP commands on the console, so that's probably because you have it in a ![cmd] event.
Could you try to go to a SUB from the ![cmd] and put the HTTP command in the SUB?
-The GlobalButton for fastest lap was still showing a value of 15 instead of 5, corrected that
-Removed ToNum from fastest lap function, as it was causing errors in the Lapper log
Change the extension of the file to .lpr and add it to addonsused.lpr to be able to use it.
As far as I know, that issue is no longer there in the current versions of Lapper.
Like I said, Rack Service uses a very old version of Lapper and that has that script and it's causing trouble.
Your server hosted at Rack Services I guess.
For an unknown reason they are offering a very old Lapper version (6.0.12) that has the exact issue you described.
Luckily I recently found the solution after a fellow Frenchmen asked about it here at the forum.
Open 'addonsused.lpr' and then changed this line: include( "./guiconfig.lpr");
To: #include( "./guiconfig.lpr");
Save the file and restart Lapper and the problem will be gone.
Is the track wrong or should people just learn that you cannot win a race in the first corner, but only lose it?
I strongly believe in the second option.
Why not run it on the latest version of LFS to start with?
Then, if you want help with a script, it might be a good idea to attach the script, as we can then have a look at it and help you.
Now we have to guess what is going on, which is a waste of time
As promised, by view on how to do multiple penalties:
1) Add the code below to the OnLap event. When a driver completes a lap, Lapper will see if that player hasn't got an active penalty (PenaltyNew == 0) AND if PlayerVar 'reset_abuse' is set to "true". If so, give the player a 45 sec penalty
2) Add the code below to the OnRaceStart event. This is to clear PlayerVar 'reset_abuse' for every player that starts the race (in case there are multiple races)
I think that writing in capitals on an online platform is considered as shouting and therefor rude behavior.
I also think that it would be better to write a well written first post when starting a thread.
As in, describe carefully what it is you want to hear from others and what your own opinion is to start with.
The thread is about a comparison between Asetto Corsa and LFS.